package service;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import domain.Customer;

@Path("/customer-service")
public interface CustomerService{

    @Path("/customers/{id}")
    @GET
    @Produces({MediaType.APPLICATION_JSON})
    Customer getById(@PathParam("id")Long id);
}